package com.google.android.gms.internal;

import java.io.IOException;

public final class zzay extends zzflm<zzay> {
    public String zzcv;
    private String zzcw;
    private String zzcx;
    private String zzcy;
    private String zzcz;

    public final /* synthetic */ zzfls zza(zzflj zzflj) throws IOException {
        while (true) {
            int zzcxx = zzflj.zzcxx();
            if (zzcxx == 0) {
                return this;
            }
            if (zzcxx == 10) {
                this.zzcv = zzflj.readString();
            } else if (zzcxx == 18) {
                this.zzcw = zzflj.readString();
            } else if (zzcxx == 26) {
                this.zzcx = zzflj.readString();
            } else if (zzcxx == 34) {
                this.zzcy = zzflj.readString();
            } else if (zzcxx == 42) {
                this.zzcz = zzflj.readString();
            } else if (!super.zza(zzflj, zzcxx)) {
                return this;
            }
        }
    }

    public final void zza(zzflk zzflk) throws IOException {
        if (this.zzcv != null) {
            zzflk.zzp(1, this.zzcv);
        }
        if (this.zzcw != null) {
            zzflk.zzp(2, this.zzcw);
        }
        if (this.zzcx != null) {
            zzflk.zzp(3, this.zzcx);
        }
        if (this.zzcy != null) {
            zzflk.zzp(4, this.zzcy);
        }
        if (this.zzcz != null) {
            zzflk.zzp(5, this.zzcz);
        }
        super.zza(zzflk);
    }

    /* access modifiers changed from: protected */
    public final int zzq() {
        int zzq = super.zzq();
        if (this.zzcv != null) {
            zzq += zzflk.zzq(1, this.zzcv);
        }
        if (this.zzcw != null) {
            zzq += zzflk.zzq(2, this.zzcw);
        }
        if (this.zzcx != null) {
            zzq += zzflk.zzq(3, this.zzcx);
        }
        if (this.zzcy != null) {
            zzq += zzflk.zzq(4, this.zzcy);
        }
        return this.zzcz != null ? zzq + zzflk.zzq(5, this.zzcz) : zzq;
    }
}
